package xin.marcher.module.replenished.exception;

import xin.marcher.module.common.exception.BaseErrorCodeEnum;

/**
 * 
 */
public enum ReplenishedCodeEnum implements BaseErrorCodeEnum {

    REPLENISHED_NO_GEN_ERROR("1001", "有序缓存权重值内存段号申请失败");

    private String errorCode;

    private String errorMsg;

    ReplenishedCodeEnum(String errorCode, String errorMsg) {
        this.errorCode = errorCode;
        this.errorMsg = errorMsg;
    }

    @Override
    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    @Override
    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

}
